{"ast":null,"code":"!function (e, t) {\n  \"object\" == typeof exports && \"undefined\" != typeof module ? module.exports = t() : \"function\" == typeof define && define.amd ? define(t) : (e = \"undefined\" != typeof globalThis ? globalThis : e || self).dayjs_plugin_advancedFormat = t();\n}(this, function () {\n  \"use strict\";\n\n  return function (e, t) {\n    var r = t.prototype,\n      n = r.format;\n    r.format = function (e) {\n      var t = this,\n        r = this.$locale();\n      if (!this.isValid()) return n.bind(this)(e);\n      var s = this.$utils(),\n        a = (e || \"YYYY-MM-DDTHH:mm:ssZ\").replace(/\\[([^\\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function (e) {\n          switch (e) {\n            case \"Q\":\n              return Math.ceil((t.$M + 1) / 3);\n            case \"Do\":\n              return r.ordinal(t.$D);\n            case \"gggg\":\n              return t.weekYear();\n            case \"GGGG\":\n              return t.isoWeekYear();\n            case \"wo\":\n              return r.ordinal(t.week(), \"W\");\n            case \"w\":\n            case \"ww\":\n              return s.s(t.week(), \"w\" === e ? 1 : 2, \"0\");\n            case \"W\":\n            case \"WW\":\n              return s.s(t.isoWeek(), \"W\" === e ? 1 : 2, \"0\");\n            case \"k\":\n            case \"kk\":\n              return s.s(String(0 === t.$H ? 24 : t.$H), \"k\" === e ? 1 : 2, \"0\");\n            case \"X\":\n              return Math.floor(t.$d.getTime() / 1e3);\n            case \"x\":\n              return t.$d.getTime();\n            case \"z\":\n              return \"[\" + t.offsetName() + \"]\";\n            case \"zzz\":\n              return \"[\" + t.offsetName(\"long\") + \"]\";\n            default:\n              return e;\n          }\n        });\n      return n.bind(this)(a);\n    };\n  };\n});","map":{"version":3,"names":["e","t","exports","module","define","amd","globalThis","self","dayjs_plugin_advancedFormat","r","prototype","n","format","$locale","isValid","bind","s","$utils","a","replace","Math","ceil","$M","ordinal","$D","weekYear","isoWeekYear","week","isoWeek","String","$H","floor","$d","getTime","offsetName"],"sources":["/data/messenger.client/node_modules/dayjs/plugin/advancedFormat.js"],"sourcesContent":["!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_advancedFormat=t()}(this,(function(){\"use strict\";return function(e,t){var r=t.prototype,n=r.format;r.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return n.bind(this)(e);var s=this.$utils(),a=(e||\"YYYY-MM-DDTHH:mm:ssZ\").replace(/\\[([^\\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case\"Q\":return Math.ceil((t.$M+1)/3);case\"Do\":return r.ordinal(t.$D);case\"gggg\":return t.weekYear();case\"GGGG\":return t.isoWeekYear();case\"wo\":return r.ordinal(t.week(),\"W\");case\"w\":case\"ww\":return s.s(t.week(),\"w\"===e?1:2,\"0\");case\"W\":case\"WW\":return s.s(t.isoWeek(),\"W\"===e?1:2,\"0\");case\"k\":case\"kk\":return s.s(String(0===t.$H?24:t.$H),\"k\"===e?1:2,\"0\");case\"X\":return Math.floor(t.$d.getTime()/1e3);case\"x\":return t.$d.getTime();case\"z\":return\"[\"+t.offsetName()+\"]\";case\"zzz\":return\"[\"+t.offsetName(\"long\")+\"]\";default:return e}}));return n.bind(this)(a)}}}));"],"mappings":"AAAA,CAAC,UAASA,CAAC,EAACC,CAAC,EAAC;EAAC,QAAQ,IAAE,OAAOC,OAAO,IAAE,WAAW,IAAE,OAAOC,MAAM,GAACA,MAAM,CAACD,OAAO,GAACD,CAAC,EAAE,GAAC,UAAU,IAAE,OAAOG,MAAM,IAAEA,MAAM,CAACC,GAAG,GAACD,MAAM,CAACH,CAAC,CAAC,GAAC,CAACD,CAAC,GAAC,WAAW,IAAE,OAAOM,UAAU,GAACA,UAAU,GAACN,CAAC,IAAEO,IAAI,EAAEC,2BAA2B,GAACP,CAAC,EAAE;AAAA,CAAC,CAAC,IAAI,EAAE,YAAU;EAAC,YAAY;;E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